<?php

// Kill session in any case
    session_start();
    $_SESSION = array();
    if (isset($_COOKIE[session_name()])) {
        setcookie(session_name(), '', time()-42000, '/');
    }
    session_destroy();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Вход для зарегистрированных пользователей</title>
<link rel="stylesheet" type="text/css" media="screen" href="css/cust-smooth/jquery-ui-1.8.7.custom.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/ipdepo.css" mce_href="css/ipdepo.css" />
<script type="text/javascript" src="js/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.7.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<script type="text/javascript" src="ipdepo.js"></script>
<script type="text/javascript" src="login.js"></script>
</head>
<body>
<div class="main_panel">
    <div id="login_mess" class="ui-widget ui-corner-all ui-widget-content ui-state-error login_mess"></div>
    <div id="login_panel" class="ui-widget">
        <div style="width:200px; position:relative; left:48px; top:16px;"><div class="ipdepo-icon-png32 ipdepo-icon-keys32" style="float:left;"></div>
            <div style="text-align:center; font-size:1.2em; text-shadow: 1px 1px #bbbbbb; color:#404040">Введите ваши данные регистрации</div>
        </div>
        <form id="login_form"> 
            <label for="uname"><b>Роль</b></label><br>
            <select name="role" name="role" style="width:100%;" class="select ui-widget-content ui-corner-all">
                <option value="999">Укажите ...</option>
                <option value="1" selected >Администратор домена</option>
                <option value="2">Пользователь домена</option>
            </select><br><br>
            <label for="uname"><b>Логин</b></label><br> 
            <input type="text" name="uname" id="uname" value="demo" style="width:100%;" class="text ui-widget-content ui-corner-all" /><br><br> 
            <label for="passw"><b>Пароль</b></label><br> 
            <input type="password" name="passw" id="passw" value="demo" style="width:100%;" class="text ui-widget-content ui-corner-all" /><br><br> 
            <label for="domain"><b>Домен</b></label><br> 
            <input type="text" name="domain" id="domain" value="example.com" style="width:100%;" class="text ui-widget-content ui-corner-all" /><br><br> 
            <br><center> 
            <input type="submit" name="gologin" id="gologin" value="Вход" style="width:100px; height:24px; cursor:pointer;" class="button ui-widget-content ui-corner-all" />
            </center>
        </form>
    </div>
</div>
</body>
</html>

